package cn.jdx.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class JsonController {
    @RequestMapping("/get")
    public ResponseJson returnJsonString(){
        ResponseJson responseJson = new ResponseJson("纪德雄", 22, "男");
        System.out.println("[信息]:已经响应了数据");
        return responseJson;
    }
}
